package com.example.xm.servive.impl;

import com.example.xm.Entity.Kg;
import com.example.xm.mapper.KgMapper;
import com.example.xm.servive.KgServive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KgServiveImpl implements KgServive {

    @Autowired
    KgMapper kgMapper;
    @Override
    public List<Kg> getAllKg() {
        return kgMapper.getAllKg();
    }
}
